package home.dao;


import java.util.List;

import home.model.Goods;
import home.model.Skill;


public interface SkillDao {
	public boolean deleteSkillById(int id);
	public Skill findById(int id);
	public List findByOneProperty(String className,String property,Object value);
	public boolean saveSkill(Skill skill);
	public List<Skill> getAllSkill();
    public List<Goods> queryForPage(final String hql,final int offset,final int length);
    public int getAllRowCount(String hql);
}
